package com.example.myhotel.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.myhotel.common.R;
import com.example.myhotel.entity.Book;

import java.time.LocalDateTime;

public interface BookService extends IService<Book> {


    boolean addBook(LocalDateTime bookTime, String userId,String roomId);

    boolean chekBook(String uerId,String roomId);

    void deleteBook(String userId, String roomId);

//    public boolean chekUser(String id);
}
